<?php
    
    namespace App\Module\Api\Validator;
    use App\System\Base\Validator\BaseValidator;

    /**
     * 定义验证器类
     * @author liujun
     */
    class BalanceWithdrawValidator extends BaseValidator
    {
        protected $rules = [
            'q.bankCardId' => 'required|integer',
            'q.amount' => 'required|numeric',
            'q.payPassword' => 'required',
        ];
        
        protected $messages = [

        ];

        protected $attributes = [
            'q.bankCardId' => '银行卡ID',
            'q.amount' => '提现金额',
            'q.payPassword' => '支付密码'
        ];
    }